/**
 *  Copyright (c)  2011-2020 Panguso, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Panguso, 
 *  Inc. ("Confidential Information"). You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into with Panguso.
 */


package cn.edu.thu.log.preprocessrule;

import java.util.HashMap;
import java.util.Map;

/**
 * define how to identify cases
 * 
 * @author wan
 * 
 */
public class CaseIdentifyRule {
	private String type = null;
	private Map<String, String> caseIdentifyRules;
/**
 * 
 */
	public CaseIdentifyRule() {
		caseIdentifyRules = new HashMap<String, String>();
	}
/**
 * 
 * @param caseidentifyrule parameter
 * @param newtype parameter
 */
	public void addCaseIdentifyRules(String caseidentifyrule, String newtype) {
		caseIdentifyRules.put(caseidentifyrule, newtype);
	}

	public Map<String, String> getAllCaseIdentifyRules() {
		return caseIdentifyRules;

	}
/**
 * 
 */
	public void clearCaseIdentifyRules() {
		caseIdentifyRules.clear();
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Map<String, String> getCaseIdentifyRules() {
		return caseIdentifyRules;
	}

	public void setCaseIdentifyRules(Map<String, String> caseIdentifyRules) {
		this.caseIdentifyRules = caseIdentifyRules;
	}

}
